home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / nodeedit.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  3.7 KB  |  106 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'NodeEdit.pas' rev: 3.00
  6.  
  7. #ifndef NodeEditHPP
  8. #define NodeEditHPP
  9. #include <LibHelp.hpp>
  10. #include <ComCtrls.hpp>
  11. #include <StdCtrls.hpp>
  12. #include <Dialogs.hpp>
  13. #include <Forms.hpp>
  14. #include <Controls.hpp>
  15. #include <Graphics.hpp>
  16. #include <Classes.hpp>
  17. #include <Messages.hpp>
  18. #include <Windows.hpp>
  19. #include <SysUtils.hpp>
  20. #include <SysInit.hpp>
  21. #include <System.hpp>
  22.  
  23. //-- user supplied -----------------------------------------------------------
  24.  
  25. namespace Nodeedit
  26. {
  27. //-- type declarations -------------------------------------------------------
  28. class DELPHICLASS TTreeViewItems;
  29. class PASCALIMPLEMENTATION TTreeViewItems : public Forms::TForm 
  30. {
  31.     typedef Forms::TForm inherited;
  32.     
  33. __published:
  34.     Stdctrls::TGroupBox* GroupBox1;
  35.     Stdctrls::TGroupBox* PropGroupBox;
  36.     Stdctrls::TButton* New;
  37.     Stdctrls::TButton* Delete;
  38.     Stdctrls::TLabel* Label1;
  39.     Stdctrls::TLabel* Label2;
  40.     Stdctrls::TLabel* Label3;
  41.     Comctrls::TTreeView* TreeView;
  42.     Stdctrls::TButton* NewSub;
  43.     Stdctrls::TEdit* Text;
  44.     Stdctrls::TEdit* Image;
  45.     Stdctrls::TEdit* StateImage;
  46.     Stdctrls::TButton* Button4;
  47.     Stdctrls::TButton* Cancel;
  48.     Stdctrls::TButton* Apply;
  49.     Stdctrls::TButton* Help;
  50.     Stdctrls::TEdit* SelectedIndex;
  51.     Stdctrls::TLabel* Label4;
  52.     Stdctrls::TButton* Load;
  53.     Dialogs::TOpenDialog* OpenDialog1;
  54.     void __fastcall NewClick(System::TObject* Sender);
  55.     void __fastcall NewSubClick(System::TObject* Sender);
  56.     void __fastcall DeleteClick(System::TObject* Sender);
  57.     void __fastcall ValueChange(System::TObject* Sender);
  58.     void __fastcall TextExit(System::TObject* Sender);
  59.     void __fastcall ImageExit(System::TObject* Sender);
  60.     void __fastcall StateImageExit(System::TObject* Sender);
  61.     void __fastcall ApplyClick(System::TObject* Sender);
  62.     void __fastcall TreeViewChange(System::TObject* Sender, Comctrls::TTreeNode* Node);
  63.     void __fastcall TreeViewChanging(System::TObject* Sender, Comctrls::TTreeNode* Node, bool &AllowChange
  64.         );
  65.     void __fastcall SelectedIndexExit(System::TObject* Sender);
  66.     void __fastcall LoadClick(System::TObject* Sender);
  67.     void __fastcall TreeViewDragOver(System::TObject* Sender, System::TObject* Source, int X, int Y, Controls::TDragState 
  68.         State, bool &Accept);
  69.     void __fastcall TreeViewDragDrop(System::TObject* Sender, System::TObject* Source, int X, int Y);
  70.     void __fastcall TreeViewEdited(System::TObject* Sender, Comctrls::TTreeNode* Node, System::AnsiString 
  71.         &S);
  72.     void __fastcall HelpClick(System::TObject* Sender);
  73.     void __fastcall FormCreate(System::TObject* Sender);
  74.     
  75. private:
  76.     Comctrls::TTreeNodes* FItems;
  77.     bool FDropping;
  78.     void __fastcall FlushControls(void);
  79.     void __fastcall SetItem(Comctrls::TTreeNode* Value);
  80.     void __fastcall SetStates(void);
  81.     
  82. public:
  83.     __property Comctrls::TTreeNodes* Items = {read=FItems};
  84. public:
  85.     /* TCustomForm.Create */ __fastcall virtual TTreeViewItems(Classes::TComponent* AOwner) : Forms::TForm(
  86.         AOwner) { }
  87.     /* TCustomForm.CreateNew */ __fastcall TTreeViewItems(Classes::TComponent* AOwner, int Dummy) : Forms::
  88.         TForm(AOwner, Dummy) { }
  89.     /* TCustomForm.Destroy */ __fastcall virtual ~TTreeViewItems(void) { }
  90.     
  91. public:
  92.     /* TWinControl.CreateParented */ __fastcall TTreeViewItems(HWND ParentWindow) : Forms::TForm(ParentWindow
  93.         ) { }
  94.     
  95. };
  96.  
  97. //-- var, const, procedure ---------------------------------------------------
  98. extern PACKAGE bool __fastcall EditTreeViewItems(Comctrls::TTreeNodes* AItems);
  99.  
  100. }    /* namespace Nodeedit */
  101. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  102. using namespace Nodeedit;
  103. #endif
  104. //-- end unit ----------------------------------------------------------------
  105. #endif    // NodeEdit
  106.